Object.defineProperty(exports, "__esModule", {
    value: !0
});

var e = require("../../utils/config"), r = require("../../utils/storage");

Component({
    properties: {},
    data: {
        list: [ e.resourceRoot + "icon-report-v3.png?v=1", e.resourceRoot + "icon-resv-v3.png?v=1" ],
        reportUrl: "../../pages/my-link-report/my-link-report",
        resvUrl: "../../pages/my-link-check/my-link-check"
    },
    methods: {
        mainClick: function(e) {
            r.isLogin() ? ("MyCheck" == e.currentTarget.id && wx.navigateTo({
                url: "/pages/my-link-check/my-link-check"
            }), "MyReport" == e.currentTarget.id && wx.switchTab({
                url: "/pages/my-link-report/my-link-report"
            })) : ("MyCheck" == e.currentTarget.id && wx.navigateTo({
                url: "/pages/authorize/authorize?path=check"
            }), "MyReport" == e.currentTarget.id && wx.navigateTo({
                url: "/pages/authorize/authorize?path=report"
            }));
        }
    }
});